﻿<Page x:Class="EveMarkets.Views.Markets"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	  xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      mc:Ignorable="d" 
	  Title="Markets" Height="812" Width="Auto" xmlns:my="clr-namespace:EveMarkets.UserControls">
	
    <Grid Height="812">
		
		<DataGrid AutoGenerateColumns="False" Margin="268,12,12,0" Name="dataGridSellOrder" ColumnWidth="Auto" AlternatingRowBackground="#FFDBD8D8" FontSize="14" HorizontalContentAlignment="Center" CanUserReorderColumns="False" CanUserResizeColumns="False" CanUserSortColumns="False" Height="374" VerticalAlignment="Top">
			<DataGrid.Columns>
				<DataGridTextColumn Header="Système" Binding="{Binding mapSolarSystems.solarSystemName}" IsReadOnly="True" />
				<DataGridTextColumn Header="Station" Binding="{Binding staStations.stationName}" IsReadOnly="True" />
				<DataGridTextColumn Header="Sec." Binding="{Binding mapSolarSystems.security, StringFormat={}{0:0.0} }" IsReadOnly="True" />
				<DataGridTextColumn Header="Prix" Binding="{Binding price, StringFormat={}{0:N}}" IsReadOnly="True" />
				<DataGridTextColumn Header="Volume min" Binding="{Binding minvolume, StringFormat={}{0:N0}}" IsReadOnly="True" />
				<DataGridTextColumn Header="Volume en cours" Binding="{Binding volremain, StringFormat={}{0:N0}}" IsReadOnly="True" />
				<DataGridTextColumn Header="Volume départ" Binding="{Binding volenter, StringFormat={}{0:N0}}" IsReadOnly="True" />
			</DataGrid.Columns>
		</DataGrid>

		<DataGrid AutoGenerateColumns="False" Margin="268,412,12,0" Name="dataGridBuyOrder" ColumnWidth="Auto" AlternatingRowBackground="#FFDBD8D8" FontSize="14" HorizontalContentAlignment="Center" CanUserReorderColumns="False" CanUserResizeColumns="False" CanUserSortColumns="False" Height="374" VerticalAlignment="Top">
			<DataGrid.Columns>
				<DataGridTextColumn Header="Système" Binding="{Binding mapSolarSystems.solarSystemName}" IsReadOnly="True" />
				<DataGridTextColumn Header="Station" Binding="{Binding staStations.stationName}" IsReadOnly="True" />
				<DataGridTextColumn Header="Sec." Binding="{Binding mapSolarSystems.security, StringFormat={}{0:0.0} }" IsReadOnly="True" />
				<DataGridTextColumn Header="Prix" Binding="{Binding price, StringFormat={}{0:N}}" IsReadOnly="True" />
				<DataGridTextColumn Header="Volume min" Binding="{Binding minvolume, StringFormat={}{0:N0}}" IsReadOnly="True" />
				<DataGridTextColumn Header="Volume en cours" Binding="{Binding volremain, StringFormat={}{0:N0}}" IsReadOnly="True" />
				<DataGridTextColumn Header="Volume départ" Binding="{Binding volenter, StringFormat={}{0:N0}}" IsReadOnly="True" />
			</DataGrid.Columns>
		</DataGrid>

		<Button Content="Rechercher" Height="23" HorizontalAlignment="Left" Margin="69,363,0,0" Name="btnRechercher" VerticalAlignment="Top" Width="75" Click="btnRechercher_Click" />
		<Canvas Height="90" HorizontalAlignment="Left" Margin="12,12,0,0" Name="canvasNomItem" VerticalAlignment="Top" Width="250" />
		
		<Image Height="Auto" HorizontalAlignment="Left" Margin="295,12,0,0" Name="imgItem" Stretch="Fill" VerticalAlignment="Top" Width="Auto" />
		<my:UcChoixSysteme Height="265" HorizontalAlignment="Left" Margin="12,92,0,0" x:Name="ucChoixSystemeMarket" VerticalAlignment="Top" Width="200" />

	</Grid>
</Page>
